package com.jxsd.edu.cn.struts2.serviceImpl;

import java.util.List;

import com.jxsd.edu.cn.struts2.dao.CatagoryDao;
import com.jxsd.edu.cn.struts2.daoImpl.CatagoryDaoImpl;
import com.jxsd.edu.cn.struts2.models.Category;
import com.jxsd.edu.cn.struts2.services.CatagoryService;

public class CatagoryServiceImpl implements  CatagoryService
{
    
	private   CatagoryDao  dao=new  CatagoryDaoImpl();
	
	@Override
	public List<Category> getAllCatagory() {
		return dao.getCatagories();
	}

}
